﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleAppTestInterface
{
    class Program
    {
        static void Main(string[] args)
        {
            new MyTest().Test(null);
            Console.WriteLine();
        }
    }

    class MyTest
    {
        public void Test(string value)
        {
            try
            {
                if (value == null)
                    throw new ArgumentNullException(nameof(value));
            }
            catch (Exception ex)
            {

            }
        }
    }
}
